package org.qqcui.designpattern.patterns.builder.builder.concrete;

import org.qqcui.designpattern.patterns.builder.builder.builder.HouseBuilder;

/**
 * 高层建筑建造实现类
 *
 * @author cuiqingqiang
 * @version 1.0
 * @date 2022/4/28 16:01
 **/
public class HighBuildingBuilder extends HouseBuilder {
    @Override
    public void buildBasic() {
        System.out.println("给高层建筑打地基50米");
        house.setBasic("50米");
    }

    @Override
    public void buildWalls() {
        System.out.println("给高层建筑砌墙");
        house.setWalls("40面");
    }

    @Override
    public void roofed() {
        System.out.println("给高层建筑封顶");
        house.setRoof("1顶");
    }
}
